package com.ruoyi.common.core.domain.entity;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: ruohao
 * @Date: 2023/8/6
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RestaurantStoreResource extends BaseEntity {
    private Long id;
    @Excel(name = "食材名称", cellType = Excel.ColumnType.STRING)
    private String name;
    private String imageUrl;
    private Integer amount;
    private BigDecimal lastAmount;
    @Excel(name = "食材类型", cellType = Excel.ColumnType.STRING)
    private String type;
    @Excel(name = "库存单位", cellType = Excel.ColumnType.STRING)
    private String unit;
    @Excel(name = "保质期", cellType = Excel.ColumnType.STRING)
    private Date guarantee;
    @Excel(name = "上限", cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal up;
    @Excel(name = "下限", cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal down;
    @Excel(name = "平均价格", cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal avgPrice;
    @Excel(name = "园区", cellType = Excel.ColumnType.STRING)
    private String area;
}
